# -*- encoding:utf-8 -*-
"""
@作者：ven
@文件名：globalvar.py
@时间：2022-06-28  10:38
@文档说明:全局变量管理模块
"""


def _init():
    global _global_dict
    _global_dict = {}


def set_value(key, value):
    _global_dict[key] = value


def get_value(key, defValue=None):
    try:
        return _global_dict[key]
    except KeyError:
        return defValue


if __name__ == '__main__':

  pass